package ar.pmt.core.excepciones;

/**
 * @author mparisi
 */
public class BusinessException extends PMTException{

	/**
	 * Serial Version UID.
	 */
	private static final long serialVersionUID = -4604196661856118312L;
	/**
	 * Excepcion solo capturadas y lanzadas en las clases de Negocio
	 */
	private BusinessException() {
		super();
	}

	/**
	 * 
	 * @param base Exception
	 * @param nError int
	 */
	public BusinessException(Exception base, int nError){
		this();
		this.setExceptionBase(base);
		this.setNError(nError);
		
	}
	/**
	 * 
	 * @param causa String
	 * @param nError int
	 */
	public BusinessException(String causa, int nError){
		this.setCausa(causa);
		this.setNError(nError);
		
	}

	
}





